﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Blog1._0.Model
{
    /// <summary>
    /// 文章 类
    /// </summary>
    public partial class Guo_Acticle
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]//代表ID自增
        public int ArticleID { get; set; }
        /// <summary>
        /// 文章类型ID
        /// </summary>
        public int TypeID { get; set; }
        /// <summary>
        /// 文章分类ID
        /// </summary>
        public int CatalogID { get; set; }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string ArticleTitle { get; set; }
        /// <summary>
        /// 文章封面
        /// </summary>
        public string ImgUrl { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string Abstract { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CRT_Time { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public Nullable<System.DateTime> Up_Time { get; set; }
        /// <summary>
        /// 创建者ID
        /// </summary>
        public Nullable<int> UserID { get; set; }
        /// <summary>
        /// 点击率（阅读量）
        /// </summary>
        public Nullable<int> ViewTimes { get; set; }
        /// <summary>
        /// 评论数
        /// </summary>
        public Nullable<int> Replies { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public Nullable<bool> IsTop { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public Nullable<bool> IsActive { get; set; }    
        public string Wyyun { get; set; }
    }
}
